Automattic\JetpackCRM\Woo_Sync_Background_Sync_Job D

Total Complexity 268
Dependencies 5
Dependents 1
Total lines 2,542
Lines of code 1,235
Logical lines of code 624
Comment lines 623
Methods 24
Properties 9

Methods 24

Method Rating Maintainability Complexity Lines of code
woocommerce_order_to_crm_objects()
D
0
121 513
import_crm_object_data()
D
27
33 151
run_sync()
B
36 14 81
import_orders_from_api()
A
36 11 80
woocommerce_api_order_to_crm_objects()
A
36 9 85
checkout_add_ons_add_field_values()
A
46 12 37
percentage_completed()
A
40 10 63
checkout_field_editor_filter_field()
A
51 8 27
import_orders_from_store()
A
46 7 41
checkout_field_editor_pro_filter_field()
S
54 7 22
__construct()
S
55 7 19
add_update_from_woo_order()
S
50 4 33
first_import_completed()
S
66 4 8
import_mode()
S
63 3 11
set_first_import_status()
S
66 3 8
filter_checkout_contact_fields()
S
65 3 9
pause_site_due_to_connection_error()
S
59 2 12
import_page_of_orders()
S
66 2 8
debug()
S
72 2 5
log_connection_error()
S
66 2 8
resume_from_page()
S
79 1 3
woosync()
S
77 1 4
settings()
S
81 1 3
set_resume_from_page()
S
76 1 4